/*
 * @(#)QueryResult.java Jan 19, 2012 - 1:29:36 AM
 * 
 * Copyright 2011 Cin/UFPE/iSPEED
 */
package speed2010.reformulacao.query;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author <a href="mailto:andreza.lba@gmail.com">Andreza Leite de Alencar</a>
 */
public class QueryResult implements Serializable {
	private static final long serialVersionUID = 3531177638565002393L;

	private Map<String, List<InstanceResult>> peersResults;
	private Map<String, List<InstanceResult>> enrichedResults;

	public QueryResult(Map<String, List<InstanceResult>> peerResults,
			Map<String, List<InstanceResult>> enrichedResults) {
		super();
		this.peersResults = peerResults;
		this.enrichedResults = enrichedResults;
	}

	/**
	 * @return Returns the peersResults.
	 */
	public Map<String, List<InstanceResult>> getPeersResults() {
		return peersResults;
	}

	/**
	 * Changes the value of peersResults as the parameter.
	 * 
	 * @param peersResults
	 */
	public void setPeersResults(Map<String, List<InstanceResult>> processResults) {
		this.peersResults = processResults;
	}

	/**
	 * @return Returns the enrichedResults.
	 */
	public Map<String, List<InstanceResult>> getEnrichedResults() {
		return enrichedResults;
	}

	/**
	 * Changes the value of enrichedResults as the parameter.
	 * 
	 * @param enrichedResults
	 */
	public void setEnrichedResults(Map<String, List<InstanceResult>> enrichedResults) {
		this.enrichedResults = enrichedResults;
	}

}
